package cn.jiyun.pojo;

import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.text.DateFormat;
import java.util.Date;

@Data
@ToString
public class Foods {

    private Integer id;
    private String name;
    private String biaoqian;
    private String fenxiang;
    private String shoucang;
    private String username;
    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;
    private Integer fid;
    private Integer sid;

    private String fname;
    private String sname;

}
